package com.cloudlead.fleetAction.service;

import com.cloudlead.common.lang.persistence.Page;
import com.cloudlead.commonData.vo.BaseGps;
import com.cloudlead.fleetService.vo.BaseCarVo;
import com.cloudlead.fleetService.vo.BaseGpsVo;
import com.cloudlead.fleetService.vo.TbCarOperationVo;

import java.util.List;

/**
 * Created by 20150817 on 2015/9/1.
 */
public interface BaseCarEditSer {
    //创建车辆
    public void createCar(BaseCarVo vo);
    //编辑车辆
    public void editCar(BaseCarVo vo);
    //单值查询
    public Object findOneCar(BaseCarVo vo);
    //分页查询
    public Page<BaseCarVo> findAllCar(BaseCarVo vo,int page,int size);
    //删除车辆
    public void delCar(String id);
    //恢复车辆
    public void hfCar(String id);

    public void relieveWX(String id);

    //GPS
    public Page<BaseGpsVo> finAllGps(BaseGpsVo baseGpsVo,int page,int size);
    //动态
    public Page<TbCarOperationVo> findAllCarS(TbCarOperationVo vo,int page,int size);
    public void editCarStatus(BaseCarVo vo);
}
